<template>
	<view class="content">
		<view style="padding:36rpx 16rpx;">
			<g-title-wrap label="基础使用" label-width="550">
				<template slot='header'>
				</template>
				<g-input v-model="value" placeholder="请输入姓名"></g-input>
				<h5>输入值：{{value}}</h5>
			</g-title-wrap>
		</view>
		<view style="padding:36rpx 16rpx;">
			<g-title-wrap label="可清除(clearable)" label-width="550">
				<template slot='header'>
				</template>
				<g-input v-model="value" placeholder="请输入姓名" clearable></g-input>
				<h5>输入值： {{value}}</h5>
			</g-title-wrap>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				value: '',
			};
		}
	}
</script>

<style lang="scss">

</style>
